#!/bin/bash

PARENT_ID=`ps ax | grep "DetectaW5" | grep -v "grep" | awk '{print $1}'`

if [ $PARENT_ID ]; then

	kill $(ps -o pid= -s $(ps -o sess --no-heading --pid $PARENT_ID )) 

fi
